LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-18-2004, 06:27 AM   #1
husniteja
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

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

Rep: Reputation: 36
Hi,

Code:
ssize_t foo
foo = recv(param)
Oliv'
 
  


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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:50 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