VaultNetwork.net Vault Network Boards
Author Topic: Anyone familiar with .NET's System.Net.Sockets TcpClient? [Locked]
Paraduck  2 stars
Title: quantum mechanic
Posts: 484
Registered: 2001-2-27 18:19:03
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.

 

-----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
Roogon
Posts: 28
Registered:
I sent you a PM on this ..


Roogon
Paraduck  2 stars
Title: quantum mechanic
Posts: 484
Registered: 2001-2-27 18:19:03
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. 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
ben1105
Posts: 35
Registered:
Take the CD out and it will work fine.
RoogonII  2 stars
Posts: 343
Registered:
Paraduck, I answered in my PM ..


I have the hardware/software running on 64-bit processor on Vista 64-bit version .....
Paraduck  2 stars
Title: quantum mechanic
Posts: 484
Registered: 2001-2-27 18:19:03
I replied to your PM yesterday, but you haven't read it yet. I think you're misunderstanding what I'm asking. 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
Roogon
Posts: 28
Registered:
My apologies !!! My mother's birthday this week and I forgot to check the PM!


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.


Roogon

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.