LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-10-2005, 11:15 AM   #1
Kroenecker
Member
 
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
Hivemind
Member
 
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 /> http://www.ecst.csuch...et/html/<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.
 
  


Reply


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


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

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