22.07.2013 Views

Download File

Download File

Download File

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Output:<br />

[student@localhost ~]$ cc udp_str_clnt.c wrapsock.c -o udpstrclnt<br />

[student@localhost ~]$./udpstrclnt 127.0.0.1 hai how are you<br />

udpstrclnt: sending data to „127.0.0.1‟ (IP:127.0.0.1)<br />

…………<br />

udpstrclnt : echo from 127.0.0.1 : UDP1500 : HAI<br />

…………<br />

udpstrclnt : echo from 127.0.0.1 : UDP1500 : HOW<br />

…………<br />

udpstrclnt : echo from 127.0.0.1 : UDP1500 : ARE<br />

…………<br />

udpstrclnt : echo from 127.0.0.1 : UDP1500 : YOU<br />

…………<br />

NP Lab Manual , RNEC page: 66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!