I have a network setup which has few wireless access points through which I get the LAN connection.
I am developing an application on nokia N79. I want to send some data whenever the mobile detects any access point (e.g. when I enter the building from outside). The data should be sent to one of the PCs in the lan.

Given this requirement, I am finding it difficult about how to proceed. How can I check, through J2ME programming, if there is any access point within the range. After finding one, what should I do to send the data to the PC? Do I have to use

Connection sc = Connector.open("socket://");

such kind of APIs to to send the data to the PC. How do I associate the said access point?

Any directives would be helpful, as I am new to J2ME.
Thanks in advance.