Multiple Sockets on Palm

Hi, I'm working on a Palm application in a Palm Emulator connected to a SocketServer. I'm accessing SQL Server DB to retrieve items to put on my combobox. Now that I retrieved the items, I need to send them to the Palm application. Previously, I concat the items into one string, send them to the Output Stream using the write() method. Then I realised that J2ME CLDC does not support StringTokenizer which I used to process any string from the palm to the server.
So now I've stored the combobox items into a Vector and I want to send the elements one at a time through many sockets. So my question is how does a Server send multiple sockets?
Please keep in mind that I am using J2ME CLDC and all J2ME socket examples I've seen only shows one socket and only one file being sent and received.
Please reply, thanks.
zad.

I think you should try making your own stringtokenizer instead.

Similar Messages

  • Monitering Multiple Sockets in one thread

    Hi all
    i have a problem.....i want to create and moniter multiple sockets BUT Due to resourse problems i cannot create as many threads. I want to use multiple sockets in one thread.
    Cani do something where i can have array of sockets and poll for data in a single while loop for all the sockets...OR u may suggest another solution for my porblem of using multiple sockets in one thread.
    thanks in advance
    Sai Burra

    Here's a pseudocode solution I've used:
    Create a thread to listen to incoming connections. Upon incoming connection, add the socket and inputstream to the incoming messages listener thread.
    Create a threadpool for outgoing messages.
    Create a thread to process incoming messages.
    Incoming message listener thread:
    Create a hashtable of sockets. Socket is the key, inputstream is the value.
    Loop through each key, and assuming BufferedReader input you can poll by using (input.isReady()). If isReady() returns true, that means there is data on the stream coming in, so you'll need to process it.
    After processing the data, call a thread from your outgoing messages threadpool to send the response - in case there is blocking, you'll still be able to process the rest of your data.
    Sleep the incoming messages thread for 200 ms (300-400ms is quite adequate for real time processing I've found, at least the slowdown isn't noticable).
    This should work for what you're talking about.

  • Multiple socket connections with MIDP

    dear experts,
    I have a simple problem and I hope someone can help me to solve it.
    I need to open a socket connection from multiple MIDlets on the same port.
    This error occours when I try to make a socket push registration from the second (or third, or fourth...) midlet (I'm able to connect to the socket correctly from the first midlet that makes a push registration):
    PushProcessor.run Exceptionjava.io.IOException: ServerSocket Open
    java.io.IOException: ServerSocket Open
         at com.sun.midp.io.j2me.serversocket.Socket.open(+39)
         at com.sun.midp.io.j2me.socket.Protocol.openPrim(+127)
         at javax.microedition.io.Connector.openPrim(+121)
         at javax.microedition.io.Connector.open(+15)
         at javax.microedition.io.Connector.open(+6)
         at javax.microedition.io.Connector.open(+5)
         at it.myprj.midp.BasicPushMIDlet$PushProcessor.run(+16)
    I would know if push registry API allows to have multiple connection on the same socket port.
    any help is appreciated!
    giovanni

    in my opinion,
    due to the fact when an app binds one port and a second app tries to bind the same (@same time) there will ever be a exception (from my point of view)!
    an no i think that push registry cant register two apps on same port (eg datagram://5060)
    hope this helps
    chris

  • Multiple sockets connected to one port

    Hello I am running a LabVIEW VI that is based on the Labview TCPServer example. I am wondering what the best way to deal with multiple connections to a single port would be. For example I have a device(could be thought of as the same thing as the TCPClient vi) that connects to the server using the port number and the IP address. The communication works fine when there is only one device trying to connect to the server, the problem occurs when two devices try to connect to the server. When the first device connects all data sent shows up fine, when the second device connects, the status on the device indicates a proper connection but none of the data sent shows up on the server side. I assume that I must do something with the connection ID to distinguish between the two connections, but I was wondering if there was an example or something that deals with this issue, or if someone would like to explain how I could get the data to show up properly. Any help is appreciated, thanks!

    I am hoping that there is something similar to the java api where there is some way I can start a new threads to handle multiple connections on the same port. I would assume that if java has it LabVIEW would have something similar. Unfortunately I am not sure how to go about finding out how to do such a thing in LabVIEW.
    The way that I assume the TCPListen.vi works is that there is some mechanism polling the specified port and ip address waiting for a request for a connection. Once a request is received the VI creates a connection ID so that the other subvi's can perform operations on the specific connection. It also looks as though the TCPListen.vi continues to listen for new connections, because the clients indicate a connection when more then one of them are run trying to connect to the same port and IP.
    So my question is either, how to start a parallel process to handle the new connections, or where can I find the new connection ID (because the indicator only shows the connection id of the first client to connect). Basically I am having trouble distinguishing between the multiple connections on the same port.I would like to keep all of the clients sending data through the same port if possible.Each client identifies itself in its data message so keeping the data organized is not a problem. 
    I also looked at the data socket examples, mainly because the Java examples I was looking at used "Sockets". I ran into similar troubles finding a way to create distinguishable connections using DS's as well. Anyways, any help is appreciated. Thanks.

  • Multiple Socket Connections

    Hi,
    i need to simulate a http-POST by using a StreamConnection.
    This has to happen a lot of times, one post after the other.
    Server is closing the socket after each POST, so that i have to call a Connector.open(...) before each POST.
    The Problem now is, that the 3rd ED devices i use are showing the IAP-Dialog, asking for a new Connection to a IAP, although the old internet connection is still open.
    Is there any way to prevent this problem and make the client ask for Access Point connection only with the first Connector.open(..) call?
    Best Regards,
    Andi

    The domein is not changing, i wrote a small testcode to simulatre this problem.
    here you are:
    private StreamConnection streamConnection = null;
    private String connectString = "socket://www.someaddress.com:80";
    for( int i = 0; i<5; i++ )
    try
    streamConnection = (StreamConnection)Connector.open(connectString);
    catch( Exception e){}
    finally
    try{
    if(streamConnection != null)
    streamConnection.close();
    }catch(Exception ignore){}
    }This code is showing the question for internet access point five times.
    Problem is that we need the close of the socket, because of the servers architecture.
    Best Regards
    Andi

  • Java Sockets on Linux OS - Poor performances with multiple sockets

    Hi,
    My app is making use of RMI processes in order to distribute maths calculations over a number of nodes. The point is that when I'm making use of only 1 RMI process, computation time on the node (nearly) matches teh total time seen by the client app, when I make use of 2 RMI processes concurrently, there is some time wasted misteriously somewhere (I guess network/TCP).
    I googled a bit and apparently re-transmission might be a possible cause for this... tried to change TcpNoDelay attribute on the Socket objects for creating RMI endpoints, but performances stayed exactly the same.
    Any idea/suggestions?
    If the prob is not clear enough please feel free to make questions.
    Thanks,
    Giovanni
    EDIT
    How can I be 100% sure that the TcpNoDelay was correctly used? Shall I specify it somehow also in the ServerSocket? Or in teh Socket obj is enough??
    Edited by: nemo83 on Oct 4, 2011 1:33 AM

    How is this different from your RMI Network Performances degradation?
    Locking.

  • Socket in Palm OS with MIDP

    Hallo,
    Has anyone create a Socket with MIDP ? If I execute
    Connector.open("socket://MyServer:32123");
    I receive a IOException without any message. What make I wrong?
    Volker

    I have install and test the emulator now.
    I receive in the stderr.txt the follow line
    Host=MyServer, port=32123, Error=4688, errCount=1, openCount=0
    In Java I receive a empty IOException. What this error means? Is there a list of error codes.

  • Multiple sockets - many client one server

    I have multiple clients (a handfull) that will be sending a lot of messages per second. I have one server that I want to handle all of those methods. From what I've seen, there are some good multi-threading examples out there. I have seen one or two things about using socketchannels. what is the best approach to this problem, and how does it work?

    jobocop17 wrote:
    I have multiple clients (a handfull) that will be sending a lot of messages per second. What is a "lot"?
    10 or 10,000?
    Is that the sustained rate or the burst rate?
    What is the size of each message?
    What processing must occur for each message?
    Must every message succeed? Must it succeed the first time?
    I have one server that I want to handle all of those methodsSimply might not be possible depending on the answers to the above. Or might be trivially simple.

  • Multiple socket connection in TC65

    Hello!
    I connect TC65 with server by socket connection on port 23. I close this socket, output and input streams as well. Because I've read some information from server I want to connect to another device using socket connection on port 43 for example, but it seems it doesn't work. I guess in some way it could be done because I closed previous connection. Any advise?
    Luke

    ok. dear
    my another id is      [email protected]
    Right, I'm getting tired of this already.
    NO, I'm not going to send you any code, you lazy nitwit. Neither will anybody here.
    Your use of the imperative form in your question is rude. You may talk like that to your colleagues, but in a forum where people answer questions in their spare time and on a voluntary basis this is inacceptable.
    You didn't even bother to say "please", at the least. Not that this would have changed much, but at least you wouldn't have been barking.
    [url http://www.catb.org/~esr/faqs/smart-questions.html]This document might provide you some orientation.
    As for your problem, first find out what exactly it is you want to do. Search the web, as kajbj counselled, it's quite a common task. If you have a specific problem, ask. But, take my advice and never, never ever ask people to "send you code" in a forum.

  • Multiple input stream in one socket connection

    Can we have multiple input streams for a java socket connection? It means that in a client/server application (creates using java socket), can we have multiple input streams for the client side program. For example, the input streams are to cater for the need of letting the user to chat and downloading some files from the chat partner at the same time. And do we need to use thread to create the multiple input streams like the case when we create a multithreaded server? Anyone out there who knows the solution please post it. Thanks in advance.

    Can we have multiple input streams for a java socket
    connection? It means that in a client/server
    application (creates using java socket), can we have
    multiple input streams for the client side program.
    For example, the input streams are to cater for the
    need of letting the user to chat and downloading some
    files from the chat partner at the same time. And do
    we need to use thread to create the multiple input
    streams like the case when we create a multithreaded
    server? Anyone out there who knows the solution please
    post it. Thanks in advance.Ok im no expert here but this is what i learned:
    a Socket can have only one InputStream (Socket.getInputStream()) and one OutputStream Socket.getOutputStream()). So you will have to create a way to make multiple Socket connections in your client program. And yes, you have to use threads for your server. if you dont the client will have to wait until the user before them is finished with the connection before being able to connect. I hope this helps you out. BTW please check out http://www.javabible.com. they have the book online now for free.
    Joeyford1

  • Single socket, multiple streams?

    Hey,
    I'm currently fiddling around writing an Instant Messenger, and expecting a problem.
    Basically across the same socket I'll be sending messages (user-user), other client messages and small loads of image data.
    I'm thinking concidering it's a single stream all information will be queued, for instance if:
    1. The server is sending, lets say a 700mb file through the one socket (wouldn't happen, but to show my point).
    2. Users are trying to message the user recieving the 700mb file through the same socket/connection.
    Basically the way I'm seeing it is the messages the users are trying to send to the user won't go through untill the 700mb file is done sending because it was set first.
    In short: Do socket output streams queue data in a way that messages will be withheld untill other information goes through? And if so how would I avoid this?
    Thanks in advance,
    Danny.

    Thanks for the help, I'll look into it.
    When I said messages I meant in the IM sense, just to show an example of where I believe the problem would have occured.
    I think multiple socket connections may be the way to go, one for general protocol data and another (when needed) for image data.
    Thanks again :)

  • How can i reuse my existing socket connection

    Hi,
    this might sound basic, it probably is:
    As part of my larger project, i have to send and recieve data to multiple socket connections.
    The thing that happens is that everytime i send data, it seems that java is creating a new stream or something (code is multithreaded)
    so as i send 4 items of data, a bit like a chat program sending 4 statements, it creates 4 different streams, instead of using the same stream. therefore when i close the connection, i get:
    java.net.SocketException: Connection reset 4 times.
    i know why.. its because i have added the:
    Socket socket=new Socket(host, port);
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    PrintWriter out = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()));
    bit in the same method with the
    out.println(THE DATA....);
    out.flush();
    The thing what i want to do is to create the connection one, and reuse the objects:
    out, in and socket
    to send / recieve the new data.
    please help me guys,
    thanks

    All the threads would be able to get the same reference to....
    class SocketWrapper {
         private final Object readLock = new Object();
         private final Object writeLock = new Object();
         // client side
        public SocketWrapper(String hostname, int port);
         // server side.
        public SocketWrapper(Socket);
         // send data
         public void send(Serializable object) throws IOException;
         // receive data. synchronized(writeLock);
         public Serializable getNext() throws IOException;
         // create a new socket as required, throw IllegalState if server side. synchronized(readLock)
         private void createNewSocket() throws IllegalStateException;
    }The send autoconnects as required. It then send on message/packet/object.
    The getNext autoconnects as required. It reads one message/packet/object and returns.
    This allows multiple threads to access the same socket. It allows data to be sent while a thread is blocking on a read. (Thus two locks)

  • Using a selector to detect closed socket channel.

    Basically our app uses one thread to perform a select on multiple socket channels. When a socket is closed (either remotely or locally) the server app needs to unregister the client (so we need to detect closed channels). We've been using blocking IO previously (no dramas), but now we're dealing with many connections/clients we need to rework it as we're getting excessive amounts of threads. Anyway, that's just background.
    Here's the problem we're getting, I have boiled it down to the following.
    SocketChannel channel = SocketChannel.open();
    channel.connect(socketAddress); // for the test this is localhost.
    // this make sure socket is open, remote end just echos, waits 3 seconds and closes the socket.
    channel.write(ByteBuffer.wrap("testLocalSocketClose\n".getBytes()));
    channel.configureBlocking(false);
    Selector selector = Selector.open();
    LOG.fine("registering channel");
    channel.register(selector, SelectionKey.OP_READ, channel);
    LOG.fine("closing channel");
    channel.close();
    LOG.fine("waiting...");
    int i = selector.select();
    // this never happens (or it does very rarely)
    LOG.fine("selector woke with " + i + " selected");I would have expected the selector to return the selection key of the dead channel. Given that it doesn't and this scenario is possible (channel closing just after a read operation but before another select is called - in separate threads obviously). How can we reliably detect/be informed that the channel has been closed?
    (I saw somewhere someone mention adding the OP_WRITE to the key, I have tried this as well and it makes no difference).
    Many Thanks.
    Bob.

    May I suggest you look at your application and reassess; either it's wrong or it's your understanding of what our issue is.
    Please try the simple test below.
    WSADATA ws;
    WSAStartup(0x0101, &ws);
    SOCKET sock = socket(PF_INET, SOCK_STREAM, 0);
    struct sockaddr_in server;
    server.sin_family = AF_INET;
    server.sin_addr.s_addr = htonl(INADDR_ANY);
    server.sin_port = htons(9000);
    cout << "binding" << endl;
    bind(sock, (struct sockaddr *)&server, sizeof(server));
    cout << "listening" << endl;
    listen(sock, SOMAXCONN);
    struct sockaddr_in client;
    int client_size = sizeof(client);
    memset(&client, 0, client_size);
    cout << "accepting" << endl;
    SOCKET clientSock = accept(sock, (struct sockaddr*)&client, &client_size);
    // shutdown socket.
    cout << "shutting down client socket" << endl;
    shutdown(clientSock, SD_BOTH);
    // setup select
    FD_SET fd;
    TIMEVAL tv;
    FD_ZERO(&fd);
    tv.tv_sec  = static_cast<int>(6000);
    tv.tv_usec = 0;
    FD_SET(clientSock, &fd);
    cout << "selecting" << endl;
    int rc = select(0, &fd, NULL, NULL, &tv);     
    cout << rc << ", " << FD_ISSET(clientSock, &fd) << endl;
    char msg[500];
    if (FD_ISSET(clientSock, &fd)) {
         cout << recv(clientSock, msg, 500, 0) << endl;
         cout << WSAGetLastError() << endl;
    cout << "closing" << endl;
    closesocket(clientSock);Telnet to port 9000, you get the following output immediately:
    binding
    listening
    accepting
    shutting down client socket
    selecting
    1, 1
    -1
    10058
    closing
    The solution I posted previously re calling shutdownInput/Output in Java isn't correct however, I left OP_WRITE on by mistake, which always returns ready, my fault.  Apologies.
    Whatever the behaviour, it will be the same for Selector.select() as it is for select().
    Clearly not.
    Edited by: Bawb on 29-Jul-2011 07:01, I had left OP_WRITE on which was returning ready each time, when I realised and took it out I removed the shutdown code which made me think I hadn't sorted this. Apologies again.
    Still reckon an RFE for OP_SHUTDOWN should be added to Java.
    Thanks.

  • Too many TPC sockets opened for a single IP

    Hi there,
    I am running a ColdFusion server on a VPS to HostMySite.com and lately we are having strange problems with it. Every few minutes the server is not responding even if we restart the services - IIS and ColdFusion - and even the whole system.
    HMS guys investigated the problem and they discovered that every connection to the server is openening multiple sockets for a single IP address (every single visitor).
    Here is the full message from HMS technician, do you have any previous experience related to this?
    I've been doing some advanced monitoring and troubleshooting of your VPS over the last 24 hours.
    It is important to understand that the issue you're actually experiencing is related to TCP sockets.  Every connection to your server opens a socket and sometimes multiple sockets for an individual IP (visitor).
    I opened the site http://www.viaromania.eu/ and instantly there were 7 connections established from our IP address.
    C:\Documents and Settings\hmsadmin>netstat -ano | find "209.41.163.23"
    TCP    76.12.37.79:80        209.41.163.23:9563     ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:21164    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:26819    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:36833    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:37624    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:39566    ESTABLISHED     4
    TCP    76.12.37.79:3389      209.41.163.23:2577     ESTABLISHED     141388
    After just browsing around a few pages on the site you can see how my connections are expanding.
    C:\Documents and Settings\hmsadmin>netstat -ano | find "209.41.163.23"
    TCP    76.12.37.79:80        209.41.163.23:2852     ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:2900     ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:11014    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:11178    TIME_WAIT       0
    TCP    76.12.37.79:80        209.41.163.23:14107    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:14248    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:17177    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:17606    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:17930    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:23460    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:24594    TIME_WAIT       0
    TCP    76.12.37.79:80        209.41.163.23:25191    TIME_WAIT       0
    TCP    76.12.37.79:80        209.41.163.23:25507    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:32301    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:33591    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:37338    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:38404    TIME_WAIT       0
    TCP    76.12.37.79:80        209.41.163.23:45140    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:49734    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:53755    ESTABLISHED     4
    TCP    76.12.37.79:80        209.41.163.23:55735    TIME_WAIT       0
    TCP    76.12.37.79:3389      209.41.163.23:2577     ESTABLISHED     141388
    Over the last 2 days there are 205 coldfusion-out logs and they are all full of the same error:
    java.net.SocketException: Software caused connection abort: socket write error
    Normally when we see this we'll make a few registry adjustments that allow for more socket connections and a shorter time to live on existing socket connections.  However in your case all of the registry adjustments have already been set.
    MaxUserPort 65534
    TcpNumConnections 200 connections
    TcpTimedWaitDelay 30 seconds
    I adjusted the TcpNumConnections to 500, see if this alleviates the issue.  Note that allowing 500 Tcp Connections is not necessarily a good idea as this amount of traffic could theoretically bring down your server.
    I created a scheduled task that executes every 60 seconds in which it counts the connections on port 80 and writes it to the file netstat.txt on the desktop.
    After logging for the last 24 hours it has gone over the 500 TCP connections 19 times all between 2:21pm and 2:40pm
    2:21 PM 1367
    2:22 PM 1423
    2:24 PM 1684
    2:25 PM 1466
    2:26 PM 1867so
    2:27 PM 1250
    2:28 PM 854
    2:29 PM 796
    2:30 PM 799
    2:31 PM 794
    2:32 PM 816
    2:33 PM 730
    2:34 PM 662
    2:35 PM 524
    2:36 PM 531
    2:37 PM 539
    2:38 PM 551
    2:39 PM 551
    2:40 PM 522
    So this is pretty good news.  This means your site over the last 24 hours only had 19 minutes of issues due to TCP connections.
    Please, post your messages if you know why so many sockets are opened for every single IP and if this is a normal behaviour.
    Greetings,
    Adrian.

    Hi Jochen and thank you for your answer.
    We are using "cazare.cfm" for all the screens listing hotels and guest houses from a specific location. For instance:
    http://www.viaromania.eu/cazare.cfm/Bucuresti/2-Cazare_hoteluri_pensiuni_Bucuresti.html - accommodation in Bucharest
    http://www.viaromania.eu/cazare.cfm/Brasov/1-Cazare_hoteluri_pensiuni_Brasov.html - accommodation in Brasov
    And so on...
    I don't know if this is bad or not, but our code is using heavely <cfinclude> tag so we can keep files easy to debug and avoiding big .CFM files. I don't remember reading somewhere that <cfinclude> can cause any dealays in page loading or any server performance... maybe you can tell me if this is a bad thing or not.
    After reading your post I tried to use chaced .CSS files so instead of "general.CSS" file included in the header I am using now http://www.viaromania.eu/includes/css/general.CFM and this file content is like this:
    <cfset dtExpires = (Now() + 1) />
    <cfset strExpires = GetHTTPTimeString( dtExpires ) />
    <cfheader name="expires" value="#strExpires#" />
    <cfcontent type="text/css" />
    <cfoutput>
    ... css content here
    </cfoutput>
    I tried to do a similar change to "common.JS" file but so far with no luck. If you know any tutorial or something about chaching .JS files please send me the link. Anyhow, I think our problem is somehow related to the session variables. I noticed that for every single visitor we have, CF is creating 4 session variables: CFID, CFTOKEN + other 2 (I miss their name now). So for 1,000 visitors you have minimum 4,000 session variables created. Then I did this: enabled Use J2EE session variables option in CF Admin and get rid of CFID and CFTOKEN session. I am using now SESSIONID to identify my visitors. So, basically instead of having 4,000 sessions I have now only half of them.
    After chaching the .CSS and enabled J2EE session variables the server started to work better. I don't know if there is just a happy coincidence or those steps were necessary but the server is ok now.
    Please let me know what do you think and what else can I do in order to improve server performance. Any idea how to chache .JS files?
    Adrian.

  • Binding two outgoing sockets to same local port

    I need to bind two outgoing socket connections to the same local port.
    I cannot figure out how to do this. I know it can be done in C.
    Ex:
    Socket s = new Socket(host,1080,inetaddr,20);
    Socket s2 = new Socket(host,1081,inetaddr,20);
    Java does not seem to allow this. This however is required by the FTP protocol. The FTP server must bind all outgoing connections in response to a PORT command to the servers own local port 20. Some firewalls require this unless you add a bunch of manual rules.
    Packet sniffing verifies that C++ FTP servers are doing this...so how can this be done in Java?

    Below is a packet sniff from two servers. I used serve-u vs. my own CrushFTP. Serve-u isn't the only server to do this though. I don't really want to argue about whether this is the proper thing in the FTP protocol or not. I just want to know if I can do the equivalent that a "C" server is doing. Notice the lines in bold. They show the directory listing connection for both servers. Serve-u attaches the connection from its local ftp_data (20) port. CrushFTP does not (obviously since I am asking how to do it). I can bind one...but the next one will fail until the previous socket has closed. Other FTP servers work the same way such as wu-ftpd.
    Is it possible to bind multiple sockets to the same port 20 as a source port?
    Serve-U
    [TCPPacket: 192.168.2.33.51723 -> 192.168.2.73.ftp ack[0xa1836c94] psh l=32,26]
    PORT 192,168,2,33,202,19
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51723 ack[0x56da32f5] psh l=32,21]
    200 PORT Command OK
    [TCPPacket: 192.168.2.33.51723 -> 192.168.2.73.ftp ack[0xa1836ca9] psh l=32,6]
    LIST
    [TCPPacket: 192.168.2.73.ftp_data -> 192.168.2.33.51731 syn[0xa19db871] l=28,0]
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51723 ack[0x56da32fb] psh l=32,29]
    150 Opening data connection
    [TCPPacket: 192.168.2.33.51731 -> 192.168.2.73.ftp_data ack[0xa19db872] syn[0x61b8b2f4] l=24,0]
    [TCPPacket: 192.168.2.73.ftp_data -> 192.168.2.33.51731 ack[0x61b8b2f5] l=20,0]
    [TCPPacket: 192.168.2.73.ftp_data -> 192.168.2.33.51731 ack[0x61b8b2f5] psh l=20,262]
    total 4
    drwxr-xr-x 1 User Group 0 Jan 23 2004 bridged
    -rwxr-xr-x 1 User Group 3282 Feb 2 08:48 e_boa.txt
    drwxr-xr-x 1 User Group 0 Jan 24 14:57 log
    drwxr-xr-x 1 User Group 0 Jan 23 2004 report
    [TCPPacket: 192.168.2.73.ftp_data -> 192.168.2.33.51731 ack[0x61b8b2f5] fin l=20,0]
    [TCPPacket: 192.168.2.33.51731 -> 192.168.2.73.ftp_data ack[0xa19db979] l=20,0]
    [TCPPacket: 192.168.2.33.51731 -> 192.168.2.73.ftp_data ack[0xa19db979] fin l=20,0]
    [TCPPacket: 192.168.2.73.ftp_data -> 192.168.2.33.51731 ack[0x61b8b2f6] l=20,0]
    [TCPPacket: 192.168.2.33.51723 -> 192.168.2.73.ftp ack[0xa1836cc6] l=32,0]
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51723 ack[0x56da32fb] psh l=32,23]
    226 Transfer complete
    CrushFTP
    [TCPPacket: 192.168.2.33.51771 -> 192.168.2.73.ftp ack[0xa60c614a] psh l=32,26]
    PORT 192,168,2,33,202,60
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51771 ack[0x17e2592a] psh l=32,50]
    200 PORT command successful. 192.168.2.33:51772.
    [TCPPacket: 192.168.2.33.51771 -> 192.168.2.73.ftp ack[0xa60c617c] psh l=32,6]
    LIST
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51771 ack[0x17e25930] l=32,0]
    [TCPPacket: 192.168.2.73.4606 -> 192.168.2.33.51772 syn[0xa613d0a8] l=28,0]
    [TCPPacket: 192.168.2.33.51772 -> 192.168.2.73.4606 ack[0xa613d0a9] syn[0x31c7b037] l=24,0]
    [TCPPacket: 192.168.2.73.4606 -> 192.168.2.33.51772 ack[0x31c7b038] l=20,0]
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51771 ack[0x17e25930] psh l=32,44]
    150 Opening data connection for file list.
    [TCPPacket: 192.168.2.73.4606 -> 192.168.2.33.51772 ack[0x31c7b038] psh l=20,199]
    drwxrwxrwx 1 user group 0 Feb 04 07:46 LOYALTY
    drwxrwxrwx 1 user group 0 Feb 04 07:46 ATS
    drwxrwxrwx 1 user group 0 Feb 04 07:46 C:\
    [TCPPacket: 192.168.2.73.4606 -> 192.168.2.33.51772 ack[0x31c7b038] fin l=20,0]
    [TCPPacket: 192.168.2.33.51771 -> 192.168.2.73.ftp ack[0xa60c61a8] l=32,0]
    [TCPPacket: 192.168.2.73.ftp -> 192.168.2.33.51771 ack[0x17e25930] psh l=32,34]
    226 Directory transfer complete.

Maybe you are looking for

  • How do I move the music from my iTunes library on my desktop computer to my iPad?

    How do I move the music from my iTunes library on my desktop computer to my iPad?

  • Deleted old photos from iPod

    I just sync'd my Touch and it installed my new pictures but deleted the old ones.  All are still in the same folder in iPhoto I've changed nothing but added the new pictures to the folder.  It did it to both of our iPods.  What's up with that? Wanted

  • Middleware_Data is not carried

    Dear friends,     We have successfully down loaded Business partners from R/3 (Development) to CRM (Developement) through middleware configuration. Now we are trying to dowmload the data from R/3 (Production) to CRM (Production) using the same middle

  • Creating additional folders on iphone 3Gs when using a pop3 account

    I want to add additional folders in my pop3 mail account. The default only gives me inbox, drafts, sent and trash. Can anyone advise how to create additional folders???

  • Won't fully load

    Greetings, About the same time I got a new computer (with Vista), Apple released iTunes 7.4, so I installed 7.4 on the new computer. Since then I cannot get my iPod loaded -- it's recognized & it will load a little, but only a small fraction. I've tr