Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using sockets and transfering data via tcp/ip 1

Status
Not open for further replies.

Chrys

Programmer
Mar 8, 2000
1
US
I'm sorta new at sending data over a network in c++... i did find something about sockets.. but nothing on actually how to use them.. if anyone could point me toward some help or send some fairly simple source it would be greatly appricated<br>
<br>
thanks <br>
<br>
Chrys
 
Chrys,<br>
<br>
Is this for a school/university project or for work?<br>
<br>
if work=true then use_mswinsock_ocx // good howto in help<br>
else you_have_your_work_cut_out=true // Hmmm...<br>
<br>
The &quot;White Book&quot; (Unix Network Programming, I think it's called) is a good solid introduction to a difficult subject and the TCP section applies to all platforms rather than just to Unix.<br>
<br>
Mike<br>
<br>
<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
To send data over tcp/ip you can use the winsock.dll that is provided in any modern OS. If you want to get really low level, you can look at the actual code that is used in tcp/ip. This is only provided in a free open source unix or linux compiler. Somebody was nice enough to put this up on the web at <A HREF=" TARGET="_new">look in the netinet directoy. If you need a sample program that does this like a packet sniffer or a syn flooder or something, the easiest site to find the c files for those are at <A HREF=" TARGET="_new"> Hope it helps<br>
<br>
moses
 
There is a book on Networking by Stevens. This would definitely help you. <br>
Thanx<br>
Siddhartha Singh<br>
<A HREF="mailto:ssingh@aztecsoft.com">ssingh@aztecsoft.com</A><br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top