Quote:
Originally Posted by vensrikanth
---------------------------------------------------------------------
1) listener object returns NULL.
2) listener.AcceptSocket(); returns nothing being listener is NULL
----------------------------------------------------------------------
|
How did you verify that listener is null?
If listener would be null, calling AcceptSocket() would throw a NullReferenceException.
What do you mean with AcceptSocket() returns nothing? Do you mean this method blocks and the program stays there? This should be the case until a client connects.
Quote:
Originally Posted by vensrikanth
-------------------------------------------------------------
1) Client.Connect - doesn't connect any
2) Stream also NULL
3) received is 0
------------------------------------------------------------------
|
What happen's with "doesn't connect any"? Did you change the server name to your machine?
If the stream is null, stream.Read() would throw a NullReferenceException, and not assign a 0 value to received.
Can you please supply more information on the errors you see?