Re: some problem in UDP programming under linux



I modify
sendto(s, buffer, len, 0, (struct sockaddr *)&addr, addr_len) and
len = recvfrom(s, buffer, sizeof(buffer), 0 (struct sockaddr *)&addr,
&addr_len) bug , but have some new bug

udpclient1.C: In function 'int main()';
udpclient1.C: 37: invaild conversion from 'int*' to 'socklen_t*'

please help me

.



Relevant Pages

  • Re: Buffer overflows and asctime()
    ... to contain a "bug" as others are not. ... standard the year member receives a maximum value. ... will overflow its buffer if confronted with valid inputs. ... So you still do not understand "undefined behavior". ...
    (comp.std.c)
  • Re: [Full-disclosure] DNS TXT Record Parsing Bug in LibSPF2z
    ... A relatively common bug parsing TXT records delivered over DNS, ... filters that protect your systems use LibSPF2. ... rdlen byte buffer. ...
    (Full-Disclosure)
  • Bug analysis
    ... char *ReadTextFile ... the fgets function fills our buffer with a line or 119 ... The reallocation asks for "len" more characters, ... this bug can very well go completely undetected in many occasions giving ...
    (comp.lang.c)
  • [UNIX] wu-ftpd fb_realpath() Off-by-One Bug
    ... Wu-ftpd FTP server contains remotely exploitable off-by-one bug. ... characters while the size of the buffer is MAXPATHLEN characters only. ... Following FTP commands may be used to cause buffer overflow: ...
    (Securiteam)
  • Re: Buffer Overrun in VC++ using VFP9
    ... There is at least one known bug in VFP that will cause this. ... The bug involves very specific data conditions and buffering. ... support line and open a paid support incident. ... the only remedy with buffer ...
    (microsoft.public.fox.programmer.exchange)