*BSD News Article 26918


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!saimiri.primate.wisc.edu!nntp.msstate.edu!gatech!howland.reston.ans.net!EU.net!julienas!nenuphar.saclay.cea.fr!argentine!leroy
From: leroy@suisse.far.cea.fr (Christophe LEROY)
Subject: UDP Checksum control
Message-ID: <1994Feb3.182545.16563@nenuphar.saclay.cea.fr>
Sender: leroy@argentine (Christophe LEROY)
Date: Thu, 3 Feb 1994 18:25:45 GMT
Nntp-Posting-Host: argentine.far.cea.fr
Organization: Commissariat a l'Energie Atomique (CEA), France.
Lines: 18

	Hello,

I read that checksum control with UDP datagram communication was optionnal:

Some systems use a default configuration for UDP sockets with checksum control,
and some don't...

I am developping a application running over SunOS, that needs checksum control,
because it has to receive datagrams coming from another system, using 
a very unreliable media. 

My question is:

How can UDP sockets checksum control be enabled on SunOS ?

I looked around setsockopt and ioctl option, but couln't find any lead...

Thanks by advance.