summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-07-18 13:07:25 -0400
committerjoe <joe@jerkface.net>2013-07-18 13:07:25 -0400
commita9d98335ce5d44c60eb0460fed951e5ff01311fc (patch)
treee37366700f3b9c848ae3ceb8fcb5fa6a27761612
parenta649e76487763ba5ac080240dd2b0a056cbd8fd1 (diff)
Added warning on sIsConnected for case the socket was made into a
Handle.
-rw-r--r--Presence/SocketLike.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Presence/SocketLike.hs b/Presence/SocketLike.hs
index 30a8fe07..cf52aca8 100644
--- a/Presence/SocketLike.hs
+++ b/Presence/SocketLike.hs
@@ -41,7 +41,8 @@ instance SocketLike NS.Socket where
41 getPeerName = NS.getPeerName 41 getPeerName = NS.getPeerName
42 getPeerCred = NS.getPeerCred 42 getPeerCred = NS.getPeerCred
43 socketPort = NS.socketPort 43 socketPort = NS.socketPort
44 sIsConnected = NS.sIsConnected 44 sIsConnected = NS.sIsConnected -- warning: this is always False if the socket
45 -- was converted to a Handle
45 sIsBound = NS.sIsBound 46 sIsBound = NS.sIsBound
46 sIsListening = NS.sIsListening 47 sIsListening = NS.sIsListening
47 sIsReadable = NS.sIsReadable 48 sIsReadable = NS.sIsReadable