[prog] Re: [Courses] [C] network programming

Jacinta Richardson jarich at perltraining.com.au
Tue Oct 15 13:25:25 EST 2002


On Mon, 14 Oct 2002, Shuying wrote:

> I've got a client and server, which sends UDP packets to each other.
> The client seems to have sent a packet but the server doesn't seem to
> be getting it. Below is a snippet of the relevant code (from the server
> side) in question:

> Can anyone tell me what I've done wrong?

This may be a networks issue.  If you're reasonably certain that your code
is correct, talk to your network admin people the ensure that the server
is listening for connections on the correct port (usually 1645) from your
client machine.

If your server isn't configured to accept those connections your client
can send them all it likes but they'll be dumped at the network level and
you'll be none the wiser.

	Jacinta

--
   ("`-''-/").___..--''"`-._          |  Jacinta Richardson	    |
    `6_ 6  )   `-.  (     ).`-.__.`)  |  Perl Training Australia    |
    (_Y_.)'  ._   )  `._ `. ``-..-'   |      +613 9354 6001 	    |  
  _..`--'_..-_/  /--'_.' ,'           | contact at perltraining.com.au |
(il),-''  (li),'  ((!.-'              |   www.perltraining.com.au   |




More information about the Programming mailing list