//
//  ALSocketPort.h
//  Aluminum Framework
//
//  Created by Philippe Hausler on 8/8/08.
//  Copyright 2008. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <stdlib.h>
#import <sys/types.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <arpa/inet.h>
#import <stdio.h>
#import <strings.h>
#import <unistd.h>
#import <netdb.h>
@interface TCPSocket : NSObject {
	NSSocketNativeHandle fd;
	struct sockaddr_in serverAddress;
}
- (id)initWithTCPPort:(unsigned short)port;
- (id)initWithConnectionTo:(NSString *)host onTCPPort:(unsigned short)port;
- (NSSocketNativeHandle)socket;
@end
