View Single Post
  #2  
Old 09-12-2011, 12:43 PM
wildwillie wildwillie is offline
Approved Member
 
Join Date: Aug 2010
Posts: 111
Default

Tried this yesterday and it worked when I used my client to run as a server. Was able to send the "Test" command and got Received back.

When I tested this on our Dedicated server it did not work. (Dedicated server uses Win 2008 Server OS (64bit)

The 1st problem I found and modified to work for me was in the code where you create the socket. New code I had to change the ipAddress.AddressFamily piece.

Code:
              // Create a TCP/IP socket.
                Socket client = new Socket(ipAddress.AddressFamily,
                    SocketType.Stream, ProtocolType.Tcp);
Now on the server it loads the server master and creates the port, but I do not get a "received" message back when I issue a command and I do not see any errors.

Any Ideas ?

WildWillie
Reply With Quote