equal
deleted
inserted
replaced
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
56 tcp_server.StartServer( argv[1], argv[2] ); |
56 tcp_server.StartServer( argv[1], argv[2] ); |
57 return ITS_OK; |
57 return ITS_OK; |
58 } |
58 } |
59 |
59 |
60 |
60 |
61 // |
61 //////////////////////////////////////////////////////////////////////// |
62 // Print Usage. |
62 // Print Usage. |
63 // |
63 //////////////////////////////////////////////////////////////////////// |
64 void usage() |
64 void usage() |
65 { |
65 { |
66 fprintf( stderr, "tcp_server <local_interface> <local_port>\n" ); |
66 fprintf( stderr, "tcp_server <local_interface> <local_port>\n" ); |
67 } |
67 } |