Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-10-2005, 11:15 AM   #1
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
tcp/udp and c++

I was wondering if there are any basic libraries that allow us to send information over the internet when programming in c++. For instance if I wanted to work on creating a simple file transfer agent, do you know any online resources that could help me understand how to do this?

I would prefer to use as much c++ as possible so I would like to refrain from making system calls that use another program to do the dirty work for me. If that is possible.
Old 05-10-2005, 11:56 AM   #2
Registered: Sep 2004
Posts: 273

Rep: Reputation: 30
You need to learn how to use sockets. Use google, there's plenty of information available. Also check out:
http://<br /><br />

Keep in mind that sockets are not specified by the C++ standard so any code using sockets won't be portable to all systems,
but the socket APIs that comes with Windows and Linux are very similar, even more so if you use Cygwin on Windows.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TCP/UDP Confusion blackhole123 Linux - Networking 1 11-15-2005 03:46 AM
UDP over TCP The_Nerd Programming 7 07-21-2004 09:45 PM
Only receiving UDP packets, no TCP erevlehdeux Linux - Networking 1 04-23-2004 07:36 PM
Switching nfs from udp to tcp 850NA Linux - Networking 0 09-01-2003 10:11 PM
TCP vs. UDP mikeshn Linux - Networking 5 05-17-2003 04:14 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration