How to know data size in UDP?

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Wed Nov 4 02:07:34 EST 2009


Hello,

> If my understating is correct, I cannot use recvFrom since it calls
> recvfrom() with FFI. So, I use socketToHandle to translate a socket to
> a handle.

Sorry. This is my misunderstanding.

recvFrom does not stop other threads at least on UNIX. So, my problem
is solved.

--Kazu


More information about the Glasgow-haskell-users mailing list