Afficher un message
Vieux 18/10/2007, 14h38   #2
CBFalconer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendto(msg) points to uninitialised byte(s)

BlueJ wrote:
>
> My program is to send data using socket.. but I got the error message:
> "sendto(msg) points to uninitialised byte(s) " This is my source code
>
> 1. key_list = emalloc(BUFSIZE - sizeof(Key) - sizeof(byte) -
> sizeof(int));
> bzero(key_list, sizeof(*key_list));


So far the entities 'key_list', 'emalloc', 'Key', 'byte', 'bzero'
are all undefined. Not to mention 'socket' and 'sendto()'.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>


--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
 
Page generated in 0,05385 seconds with 9 queries