🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10264

Re: Segmentation fault (core dumped) al crear Socket

#10264
From: el cintura partida
Date: Mon, 11 Mar 2002 09:34
33 lines
1794 bytes
MAQUI000@NOSPAM.mundo-r.com (Jose A) wrote in message news:<slrna8mq5c.1bi.MAQUI000@cm225143.red.mundo-r.com>...
> Hola
> 
> In article <ffaaf19a.0203090611.f84f90a@posting.google.com>, el cintura partida
> wrote:
> > Hola a todos, tengo problemas a la hora de generar socket en mi
> > m�quina Linux, he intentado crear socket de entorno TCP y UNIX pero
> > siempre aparece el mensaje:
> > 
> > Segmentation fault (core dumped)
> [...]
> 
> Cambia esto:
>  
> > int main (int argc, char *argv)
> 
> por esto:
> 
> int main (int argc, char *argv[])
> 
> o por esto:
> 
> int main (int argc, char **argv)
> 
> y veras como ahora si debi�ra funcionar, ;)
> 
> > Muchas gracias a culquiera que me lea. Un saludo
> 
> saludos.


Muchas gracias a todos, en especial a Jose A, has dado en el calvo.
Pongame a los pies de su se�ora =)
Technical Details
Message-ID: <ffaaf19a.0203110134.5c698f6c@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <ffaaf19a.0203090611.f84f90a@posting.google.com> <slrna8mq5c.1bi.MAQUI000@cm225143.red.mundo-r.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6012a616144366d
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-11 01:34:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: elcinturapartida@yahoo.es (el cintura partida)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Segmentation fault (core dumped) al crear Socket
Date: 11 Mar 2002 01:34:14 -0800
Organization: http://groups.google.com/
Lines: 33
Message-ID: <ffaaf19a.0203110134.5c698f6c@posting.google.com>
References: <ffaaf19a.0203090611.f84f90a@posting.google.com> <slrna8mq5c.1bi.MAQUI000@cm225143.red.mundo-r.com>
NNTP-Posting-Host: 194.179.1.161
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1015839255 15403 127.0.0.1 (11 Mar 2002 09:34:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 11 Mar 2002 09:34:15 GMT