[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] sockets between uClinux's



Use tcpdump to see what's happening during the connection and which machine is 
really working with latencies. If my point is right the first packet will be 
at the net without delays and the answer from which acts as server will take 
some time. You can see if dns requests are travelling in the net.

On Wednesday 21 December 2005 13:37, Raul Camaras wrote:
> there are no daemons for ftp or telnet.
> # ps
>   PID PORT STAT SIZE SHARED %CPU COMMAND
>     1      S    139K     0K  0.5 /sbin/init
>     2      S      0K     0K  0.0 keventd
>     3      R      0K     0K  0.0 ksoftirqd_CPU0
>     4      S      0K     0K  0.0 kswapd
>     5      S      0K     0K  0.0 bdflush
>     6      S      0K     0K  0.0 kupdated
>     7      S      0K     0K  0.2 mtdblockd
>    37      S    279K     0K  0.5 thttpd -c *.cgi
>    40      S     69K     0K  0.1 sock_server 2000
>    42      S    133K     0K  0.2 /bin/flatfsd
>    43   S0 S    134K     0K  7.6 -sh
>    44   S0 R     71K     0K  0.0 ps
> #
>
> Server and client programs are:
>
> http://www.cs.rpi.edu/courses/sysprog/sockets/server.c
> http://www.cs.rpi.edu/courses/sysprog/sockets/client.c
>
> Am Mi, den 21.12.2005 schrieb alucero@xxxxxxxxx um 13:19:
> > Is the connection done with a daemon as ftp or sshd or telnet?
> >
> > It sounds as DNS requests are failing during the connection.
> >
> > On Tuesday 20 December 2005 14:57, Raul Camaras wrote:
> > > Sorry, it worked, but I had to wait for 1 or 2 minutes before the
> > > communication took place! It looks like either read or write blocks
> > > for some time before they execute...
> > >
> > > Am Di, den 20.12.2005 schrieb Raul Camaras um 12:10:
> > > > hi!
> > > >
> > > > has anyone tryed to communicate via sockets between two uClinux?
> > > > In my test it didn't work! same program worked between computer
> > > > and uClinux, and of course only within one uClinux, but not between
> > > > two different uClinux with two IP addresses. It seems to stay in the
> > > > read statement. Why?
> > > >
> > > > Thanks a lot.
> > > > Raul
> > > >
> > > >
> > > >
> > > > ___________________________
> > > > microblaze-uclinux mailing list
> > > > microblaze-uclinux@xxxxxxxxxxxxxx
> > > > Project Home Page :
> > > > http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List
> > > > Archive :
> > > > http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> > >
> > > ___________________________
> > > microblaze-uclinux mailing list
> > > microblaze-uclinux@xxxxxxxxxxxxxx
> > > Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> > > Mailing List Archive :
> > > http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

-- 
Alejandro Lucero
OS3, OS Serveis i Solucions
www.os3sl.com
Ingeniería Informática
+34 665687168
Av.Benjamin Franklin
CEEI. Parque Tecnológico de Paterna
Valencia(Spain)

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/