--- trunk/src/legacy/msn/msnw.py	2007-03-16 13:29:40.000000000 -0400
+++ pymsnt/src/legacy/msn/msnw.py	2007-03-16 13:28:27.000000000 -0400
@@ -62,7 +62,7 @@
 		d = Deferred()
 		dispatchFactory.d = d
 		d.addCallbacks(self._gotNotificationReferral, self.connectionFailed)
-		self.connectors.append(reactor.connectTCP("messenger.hotmail.com", 1863, dispatchFactory))
+		self.connectors.append(reactor.connectTCP("messenger.hotmail.com", 1863, dispatchFactory, bindAddress=(config.host,0)))
 		LogEvent(INFO, self.ident)
 	
 	def _gotNotificationReferral(self, (host, port)):
@@ -74,7 +74,7 @@
 		self.notificationFactory.password = self.password
 		self.notificationFactory.msncon = self
 		self.notificationFactory.protocol = NotificationClient
-		self.connectors.append(reactor.connectTCP(host, port, self.notificationFactory))
+		self.connectors.append(reactor.connectTCP(host, port, self.notificationFactory, bindAddress=(config.host,0)))
 		LogEvent(INFO, self.ident)
 	
 	def _sendSavedEvents(self):
@@ -502,7 +502,7 @@
 			self.reply = 0
 			factory = ClientFactory()
 			factory.buildProtocol = lambda addr: self
-			reactor.connectTCP(host, port, factory)
+			reactor.connectTCP(host, port, factory, bindAddress=(config.host,0))
 		def sbRequestFailed(ignored=None):
 			LogEvent(INFO, self.ident)
 			del self.msncon.switchboardSessions[self.remoteUser]
@@ -517,7 +517,7 @@
 		self.reply = 1
 		factory = ClientFactory()
 		factory.buildProtocol = lambda addr: self
-		reactor.connectTCP(host, port, factory)
+		reactor.connectTCP(host, port, factory, bindAddress=(config.host,0))
 	
 	def flushBuffer(self):
 		for message, noerror in self.messageBuffer[:]:
