SCOUG-Programming Mailing List Archives
Return to [ 16 |
August |
1998 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
On Sun, 16 Aug 1998 15:11:35 PDT, Rollin White wrote:
Sorry, I forgot to answer several of your questions:
>> 2. Can you show some code for just one of the methods, such as
>>IsConnectionActive, so I can start remembering what Java looks like?
>>And what will the main loop look like?
Here's what the FtpServer class looks like, including the main loop:
public class FtpServer {
public static void main(String args[]) {
ServerCommunication MainServer = new ServerCommunication(21);
System.out.println ("SCOUG FTP Server");
System.out.println ("SCOUG FTP Server: Accepting requests");
Communication Client;
Connection ClientConnection;
while (true){
Client = MainServer.GetClientConnection();
System.out.println ("SCOUG FTP Server: Client connection made!")
ClientConnection = new Connection (Client);
ClientConnection.run();
}
}
}
>> 3. How many people are on this list?
27 including three addresses that don't look like SCOUG members.
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 16 |
August |
1998 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|