Re: sendto(msg) points to uninitialised byte(s)
- From: Peter Pichler <usenet@xxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 23:11:50 +0100
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
BlueJ,
I wanted to help you, but could not find a single instance of msg in your code snippet, let alone sendto(msg).
1. key_list = emalloc(BUFSIZE - sizeof(Key) - sizeof(byte) -<snip>
sizeof(int));
bzero(key_list, sizeof(*key_list));
What's emalloc and bzero? What's key_list, Key, byte? Your code snippet is incomplete at best. If you want help, copy and paste a reduced source that exhibits your problem but is still compilable, or at least contains enough information for a human reader to understand.
Peter
.
- References:
- sendto(msg) points to uninitialised byte(s)
- From: BlueJ
- sendto(msg) points to uninitialised byte(s)
- Prev by Date: Re: BIG or little endian
- Next by Date: Re: is lcc-win32 using gpl code???
- Previous by thread: Re: sendto(msg) points to uninitialised byte(s)
- Next by thread: Re: sendto(msg) points to uninitialised byte(s)
- Index(es):
Relevant Pages
|
|