Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 15:53:04 +0800
From:      "cfliu" <cfliu@csie.nctu.edu.tw>
To:        <freebsd-net@freebsd.org>
Subject:   Is recv/sendmsg important for AF_INET only sockets?
Message-ID:  <001301c1c0f6$1e517ff0$872114ac@RTCN3848>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi, I am implementing a small BSD socket layer which supports only the AF_INET family. I am wondering whether recvmsg() and sendmsg() calls are required for the INET protocol family. I don't know if I should implemented it or not. I have looked up some open source projects and grepped for recvmsg and sendmsg calls but couldn't find any.   How often do people use recvmsg/sendmsg() calls (also readv()/writev()) in their BSD socket based Internet applications? Is it safe NOT to implement these functions for a INET socket?

Thanks.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi, I am implementing a small BSD socket layer 
which&nbsp;supports only the AF_INET family. I am wondering whether recvmsg() 
and sendmsg() calls are required for the INET protocol family. I don't know if I 
should implemented it or not. I have looked up some open source projects and 
grepped for recvmsg and sendmsg calls but couldn't find any.&nbsp;&nbsp; How 
often do people use recvmsg/sendmsg() calls (also readv()/writev()) in their BSD 
socket based Internet applications? Is it safe NOT to implement these functions 
for a INET socket?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Thanks.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c1c0f6$1e517ff0$872114ac>