ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7260 Application

To:
Subject: Re: [ts-7000] Re: TS-7260 Application
From: Jim Jackson <>
Date: Wed, 27 Jun 2007 12:11:09 +0100 (BST)


On Wed, 27 Jun 2007, kurmannthomas wrote:

> And last but not least, is there a backgroundworker (like in C#) that
> always runs in the background but doesnt lock the programm. For
> instance im using TCP sockets and connecting to the server, but if it
> doesnt connect it just locks and waits for connection. It would be
> nice to let this run in the background, always waiting for connection.

nah there's nothing so primitive :-)

Not quite sure what you application is - your description above sounds a
little contradictory.

If you are setting up a socket to listen for incoming connections then you
probably want async sockets see...

http://squirl.nightmare.com/medusa/async_sockets.html

if you are making a connection to another machine that isn't listening you
need to use non-blocking an example is here

http://www.developerweb.net/forum/showthread.php?p=13486

None of this is specific to this board - it is standard Unix/Linux network
programming. Google is your friend, e.g.

http://www.faqs.org/faqs/unix-faq/socket/

http://www.scit.wlv.ac.uk/~jphb/comms/sockets.html

and loads of other places.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU