does s40 support j2me socket ?
Do you mean by socket connect ? . It it is SocketConnection. S40 will support SocketConnection.
Could be, that you do not have the set-up the access points for MIDlets properly (which would mean that the MIDlets would not be able to connect to teh network, even though the browser for example would connect to the network without any problems)