// Use this for initialization public BSONSender(string ip, int port) { tcpSender = new TCPAsyncSender(ip, port); tcpSender.StartThread(); }