Author Topic: Anyone familiar with .NET's System.Net.Sockets TcpClient?
Paraduck 
Title: quantum mechanic
Posts: 88,652,030
Registered: Feb 27, '01
Extended Info (if available)
Real Post Cnt: 51,297
User ID: 70,706
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
I'm writing a plugin to help aid group hunting and quests, such as Colosseum. This isn't going to have automated combat, but ease communication, especially for groups that don't use voice chat. Part of this is the ability for the leader to mark targets for players to focus on and possibly dividing the spawns, giving everyone a different target.

To help with this, I have a TCP client/server implementation working in Vista 32-bit. However, I can't seem to initialize the TcpClient class in Vista 64-bit. I've been trying to figure it out for most of the morning and haven't had any progress.

This is the error received when I try to create the TcpClient on Vista 64-bit. Again, it works fine on Vista 32-bit:

============================================================================
8/18/2007 3:10:12 PM
Error: This operation is only supported on Windows 2000 SP3 or later operating systems.
Source: System
Stack: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at GroupAid.TCPClient..ctor() in C:\Users\Jason\Documents\Visual Studio 2005\Projects\AsyncTCPTest\AsyncTCPTest\TCPClient.cs:line 68
============================================================================

The code can be found at: http://paraduck.net/GroupAidSource.zip

I'm using Wolf's C# template... the message appears once upon login when the initial connection is attempted. You can also see it by typing something into the text box and hitting the button. The error will try to write to your documents/Paraduck/GroupAid directory.

Any help is appreciated. happy

 

-----signature-----
We are like dwarfs sitting on the shoulders of giants. We see more and things that are more distant than they did,
not because our sight is superior or because we are taller than they, but because they raise us up and their
great stature adds to ours
Link to this post
Roogon 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
I sent you a PM on this ..

Roogon

 

-----signature-----
Link to this post
Paraduck 
Title: quantum mechanic
Posts: 88,652,030
Registered: Feb 27, '01
Extended Info (if available)
Real Post Cnt: 51,297
User ID: 70,706
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
Thanks. I think it's an issue of 64-bit compatibility, but I'm not sure, which is why I'm hoping someone here has some experience with this. happy I also tried an implementation using Sockets, but it ultimately gave the same error.

 

-----signature-----
We are like dwarfs sitting on the shoulders of giants. We see more and things that are more distant than they did,
not because our sight is superior or because we are taller than they, but because they raise us up and their
great stature adds to ours
Link to this post
ben1105 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
Take the CD out and it will work fine.

 

-----signature-----
Link to this post
RoogonII 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
Paraduck, I answered in my PM ..

I have the hardware/software running on 64-bit processor on Vista 64-bit version ..... nerd

 

-----signature-----
Link to this post
Paraduck 
Title: quantum mechanic
Posts: 88,652,030
Registered: Feb 27, '01
Extended Info (if available)
Real Post Cnt: 51,297
User ID: 70,706
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
I replied to your PM yesterday, but you haven't read it yet. I think you're misunderstanding what I'm asking. happy AC and Decal work fine. I'm developing a new plugin and my code does not work on 64-bit versions of Vista, but works fine on 32-bit. I'm looking to see if anyone has seen the issue with TcpClient/Sockets in .NET 2.0 before and/or knows of a possible fix. I've done some searching already and could not find any information on it.

 

-----signature-----
We are like dwarfs sitting on the shoulders of giants. We see more and things that are more distant than they did,
not because our sight is superior or because we are taller than they, but because they raise us up and their
great stature adds to ours
Link to this post
Roogon 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone familiar with .NET's System.Net.Sockets TcpClient?
My apologies !!! doh! My mother's birthday this week and I forgot to check the PM! shock

I'll get back to you in the morning since it is so late tonight to do this.

And yes I understand where the question is going. See what I can see here. nerd

Roogon

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP