Article View: es.comp.os.linux.programacion
Article #11699Re: [Solucionado]Sockets en c++
From: Enrique
Date: Thu, 18 Oct 2001 17:09
Date: Thu, 18 Oct 2001 17:09
12 lines
1457 bytes
1457 bytes
> al servidor y el strlen en lugar de sizeof (esto último sí que me ha
> dejao intrigado...).
A mi también me dejó algo intrigado. Así que puse esta linea antes de
write(...)
printf("sizeof user: %d strlen user: %d", sizeof user, strlen(user));
Creo que no le mandábamos el tamaño real de la cadena.
Technical Details
Message-ID:
<3BCF0CD1.2DC104B2@wanadoo.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mailReferences:
<9qi1if$o126k$1@ID-83805.news.dfncis.de> <9qkvua$oi9sl$1@ID-83805.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,c6402803ae6cf871 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-10-18 10:11:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mail From: Enrique <nesii@wanadoo.es> Newsgroups: es.comp.os.linux.programacion Subject: Re: [Solucionado]Sockets en c++ Date: Thu, 18 Oct 2001 19:09:37 +0200 Organization: Wanadoo Lines: 12 Message-ID: <3BCF0CD1.2DC104B2@wanadoo.es> References: <9qi1if$o126k$1@ID-83805.news.dfncis.de> <9qkvua$oi9sl$1@ID-83805.news.dfncis.de> NNTP-Posting-Host: 62-36-133-202.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: news.wanadoo.es 1003424954 21100 62.36.133.202 (18 Oct 2001 17:09:14 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Thu, 18 Oct 2001 17:09:14 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-4GB i686) X-Accept-Language: es-ES, en