Created
May 1, 2010 21:54
-
-
Save pheuter/386690 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server = ServerSocket new() : ServerSocket | |
--------------------------------------------------------------- | |
ERROR No such function accept(Int, SockAddr*, UInt*) | |
conn := accept(descriptor, addr&, addrSize&) | |
^^^^^^ | |
Nearest match is: | |
accept: func (s : Int, addr : SockAddr*, addrlen : UInt) -> Int | |
..but the type of this arg should be UInt (lang/types [23951, 23955]), not UInt* (lang/types [23951, 23955]) | |
conn := accept(descriptor, addr&, addrSize&) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment