Lines Matching refs:is_port

139 shutdown(S, read) when is_port(S) ->
141 shutdown(S, write) when is_port(S) ->
143 shutdown(S, read_write) when is_port(S) ->
158 close(S) when is_port(S) ->
271 bind(S, add, Addrs) when is_port(S), is_list(Addrs) ->
273 bind(S, remove, Addrs) when is_port(S), is_list(Addrs) ->
275 bind(S, Addr, _) when is_port(S), tuple_size(Addr) =:= 2 ->
336 connect(S, Addr, _, Time) when is_port(S), tuple_size(Addr) =:= 2 ->
359 async_connect(S, Addr, _, Time) when is_port(S), tuple_size(Addr) =:= 2 ->
413 when is_port(L), is_integer(Time), is_list(FamilyOpts) ->
464 listen(S, BackLog) when is_port(S), is_integer(BackLog) ->
499 send(S, Data, OptList) when is_port(S), is_list(OptList) ->
557 when is_port(S), is_list(AncOpts) ->
597 when is_port(S), is_integer(Port) ->
609 sendmsg(S, #sctp_sndrcvinfo{}=SRI, Data) when is_port(S) ->
629 when not is_port(S);
707 recv0(S, Length, Time) when is_port(S), is_integer(Length), Length >= 0 ->
742 recvfrom(S, Length, infinity) when is_port(S) ->
744 recvfrom(S, Length, Time) when is_port(S) ->
796 peername(S) when is_port(S) ->
804 setpeername(S, undefined) when is_port(S) ->
809 setpeername(S, Addr) when is_port(S) ->
826 peernames(S) when is_port(S) ->
829 peernames(S, #sctp_assoc_change{assoc_id=AssocId}) when is_port(S) ->
832 when is_port(S), is_integer(AssocId);
833 is_port(S), AssocId =:= undefined ->
856 sockname(S) when is_port(S) ->
864 setsockname(S, undefined) when is_port(S) ->
869 setsockname(S, Addr) when is_port(S) ->
888 socknames(S) when is_port(S) ->
891 socknames(S, #sctp_assoc_change{assoc_id=AssocId}) when is_port(S) ->
894 when is_port(S), is_integer(AssocId);
895 is_port(S), AssocId =:= undefined ->
921 setopt(S, Opt, Value) when is_port(S) ->
924 setopts(S, Opts) when is_port(S) ->
942 getopt(S, Opt) when is_port(S), is_atom(Opt) ->
948 getopts(S, Opts) when is_port(S), is_list(Opts) ->
976 chgopt(S, Opt, Value) when is_port(S) ->
979 chgopts(S, Opts) when is_port(S), is_list(Opts) ->
1007 getifaddrs(S) when is_port(S) ->
1129 getiflist(S) when is_port(S) ->
1195 subscribe(S, Sub) when is_port(S), is_list(Sub) ->
1213 getstat(S, Stats) when is_port(S), is_list(Stats) ->
1231 getfd(S) when is_port(S) ->
1245 ignorefd(S,Bool) when is_port(S) ->
1260 getindex(S) when is_port(S) ->
1272 gettype(S) when is_port(S) ->
1290 getprotocol(S) when is_port(S) ->
1311 getstatus(S) when is_port(S) ->
1326 gethostname(S) when is_port(S) ->
1337 getservbyname(S,Name,Proto) when is_port(S), is_atom(Name), is_atom(Proto) ->
1339 getservbyname(S,Name,Proto) when is_port(S), is_atom(Name), is_list(Proto) ->
1341 getservbyname(S,Name,Proto) when is_port(S), is_list(Name), is_atom(Proto) ->
1343 getservbyname(S,Name,Proto) when is_port(S), is_list(Name), is_list(Proto) ->
1370 getservbyport(S,Port,Proto) when is_port(S), is_atom(Proto) ->
1372 getservbyport(S,Port,Proto) when is_port(S), is_list(Proto) ->
1414 detach(S) when is_port(S) ->
1418 attach(S) when is_port(S) ->