No there isn’t any way to refuse connections on a per-peer-address basis. In POSIX terms, WIP performs the accept() automatically as soon as the select() returns. This might change if actual POSIX APIs are eventually added.
The closest think you can do is to bind the TCP listen socket to a specific local interface, but it will only do the trick for pretty specific cases.
i think we can close the connection with wip_close() if the client ip address is in the black list. So we block it this way right? thanks for the reply.
An other thing. I look up edLib document which is an add-on library for Open AT 3.10. There is something about ed_SocketSetUpParams_t type. It says " For a server TCP Session, TcpServ parameter is used to apply filtering of incoming TCP requests from a remote destination IP address. Only requests from configured IP address will be allowed to connect to the Wavecom module. In case of no filtering this must be set to 255.255.255.255 value."
I think edlib automaticly bans the ip addresses except configured one.