ponnus
Full Member level 2
- Joined
- Mar 17, 2011
- Messages
- 142
- Helped
- 8
- Reputation
- 16
- Reaction score
- 8
- Trophy points
- 1,298
- Location
- Cochin, INDIA
- Activity points
- 2,226
Hi all,
Am using SIM300 AT commands to connect to gprs via gsm modem. I need to configure my modem as both server and client. I know that only one TCP connection exists at once. I want to set the modem as a server for receiving data and when i want to send data, I wish to configure it as a client. My question is that ,can I use the same port for both server and client configuration. ie, if the modem sends data through TCP port 2020 when it is a client, can it use the same port when acts as a server?
Can anybody help me plz. Thanks
Am using SIM300 AT commands to connect to gprs via gsm modem. I need to configure my modem as both server and client. I know that only one TCP connection exists at once. I want to set the modem as a server for receiving data and when i want to send data, I wish to configure it as a client. My question is that ,can I use the same port for both server and client configuration. ie, if the modem sends data through TCP port 2020 when it is a client, can it use the same port when acts as a server?
Can anybody help me plz. Thanks