LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2007, 07:50 AM   #1
xlq
Member
 
Registered: Feb 2007
Distribution: Slackware 12.0
Posts: 58

Rep: Reputation: 15
difference between read() and recv()?


What's the difference between using recv() and read() on a socket, similarly write() and send()?
 
Old 07-02-2007, 10:19 AM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
I could tell you, but then I'd have to kill you.

Google this

Code:
difference socket read recv
and all will be revealed.

Hope this helps.
 
Old 07-02-2007, 11:09 AM   #3
xlq
Member
 
Registered: Feb 2007
Distribution: Slackware 12.0
Posts: 58

Original Poster
Rep: Reputation: 15
I tried google before. mb "recv vs read" wasn't such a good idea
 
Old 07-03-2007, 06:59 AM   #4
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
So does this mean that when you googled

Code:
difference socket read recv
you found your answer?
 
Old 07-04-2007, 11:59 AM   #5
xlq
Member
 
Registered: Feb 2007
Distribution: Slackware 12.0
Posts: 58

Original Poster
Rep: Reputation: 15
indeed I did
 
  


Reply



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
recv command in sock in c mohtasham1983 Programming 6 02-14-2007 03:40 AM
pthreads and recv sayarsoft Linux - Kernel 2 08-11-2006 04:06 AM
recv() function of SOCKET ashucool83 Programming 1 10-08-2005 07:38 PM
Can't recv() Ephracis Programming 2 01-04-2005 02:49 PM
recv() buffer linuxanswer Programming 1 03-22-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration