Download your favorite Linux distribution at LQ ISO.
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 08-18-2004, 07:27 AM   #1
LQ Newbie
Registered: Jun 2004
Location: South Korea
Distribution: redhat
Posts: 14

Rep: Reputation: 0
function recv() in socket

dear all

I have try to make connection via socket, in this case i use recv() function to receive message from client. but how to get the return 0 value, i need this for false status

Old 08-18-2004, 10:06 AM   #2
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

ssize_t foo
foo = recv(param)


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
Please Help, Linux mysql nfs : Bind on unix socket: Function not implemented nmotte Linux - Newbie 1 10-29-2005 01:52 PM
Can I get a socket from a function and use it on another function? elmafiacs Programming 2 10-14-2005 11:26 PM
recv() function of SOCKET ashucool83 Programming 1 10-08-2005 08:38 PM
A question about connect() function of socket realos Programming 4 07-27-2005 04:21 PM
problem with socket() function marri Programming 9 09-14-2004 08:59 PM

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

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