+- (void)awakeFromNib
+{
+ server = [[ITInetServerSocket alloc] initWithDelegate:self];
+ [server setPort:1338];
+ [server setServiceType:@"ittest" useForPort:NO];
+ [server setServiceName:[(NSString*)SCDynamicStoreCopyComputerName(NULL,NULL) autorelease]];
+ [server start];
+ [ITInetSocket startAutoconnectingToService:@"ittest" delegate:self];
+}
+
+- (void) finishedConnecting:(ITInetSocket *)sender {
+ [sender disconnect];
+}
+
+- (void) errorOccured:(ITInetSocketError)err during:(ITInetSocketState)state onSocket:(in ITInetSocket*)sender
+{
+}
+
+- (void) dataReceived:(ITInetSocket *)sender