SMPP Port | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2004 ⬆ |
◄ ► |
Author | Message | |||
george helmy ryad New member Username: Loooser Post Number: 1 Registered: 06-2004 |
Dear all.. i know my Q is strange anyhow but plz try to answer me i know i can connect to an smpp server via its IP and PORT on that server but on my client machine i choose the port randomly can i specify that port which i connect on to the server so that i can be fixed every time i connect sincerely | |||
M.A.M.F New member Username: Mamf Post Number: 5 Registered: 06-2004 |
i'm not sure if i get u correctly but if u mean to connect nowsms gateway to another smpp server then from smsc tab u select (add) then u select (smpp over tcp) and there u have every thing to configure including ur remote smpp server name and ip address and port number. after that it's now sms descission to decide which port to send smpp commands to the target server. i've never seen any documentation for that, i only knew that nowsms uses port 8800 for recieving http requests. i hope that helps! | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2829 Registered: 10-2002 |
Hi George, We have support for that type of setting on UCP/EMI connections. But I haven't seen this as a requirement for any SMPP providers. You could only do this in an SMPP environment if you were binding with a single connection (transmitter only, or transceiver). If your service provider requires this, we could add a facility for this setting. (It would take about a week to get it implemented.) -bn | |||
george helmy ryad New member Username: Loooser Post Number: 2 Registered: 06-2004 |
Thx for all.. i know it is rare to need to specifiy the SMPP local port but our provider requires that for the billing process our connection with it is single connection so we satisfy the conditions if u know a programming library that uses a method with local port in the parameters passed to it we can implement the porgram if not plz tell me what shall we do sincerely | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2853 Registered: 10-2002 |
Hi George, I sent you an e-mail with an update that allows fixed ports to be specified for SMPP connections. One thing to watch out for ... when you used fixed ports, after a connection is ended, it may take 1 to 2 minutes before a new connection can be established. So you may see some connection errors during this time period. That is a limitation of TCP/IP. When a connection is established between 2 particular IP address/ports, after the connection is closed, TCP/IP won't let a new connection be established until after a timeout elapses. This is so any lost packets from the previous session don't confuse the new session. We run into this with UCP/EMI when fixed ports are used. Basically, it's just a minor nuisance when you are making configuration changes. If you get a connection error, just wait a couple of minutes for the TCP timeout to elapse. -bn | |||
george helmy ryad New member Username: Loooser Post Number: 3 Registered: 06-2004 |
Dear Bryce THx alot for ur caring and co-operation but i have two more Qs : 1- we have the version 5 of nowsms so do i have to purchase the 5.5 or can u implement this function for the version 5 if u please 2- how could i implement this option programatically i know how to connect TCP/IP with fixed local port but how to use th esmpp protocol over it | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2872 Registered: 10-2002 |
George, v5.50 is a free update for v5.0 customers. You should install v5.50 over top of v5.0 before applying the patch (as the patch only has components updated after the v5.50 release). Programatically, you use the bind command to bind to a specific port. -bn | |||
george helmy ryad New member Username: Loooser Post Number: 4 Registered: 06-2004 |
thx again Bryce.. Bind command in java ??? i know the socket methods that establishes a connection on TCP/IP protocol is bind is a facility in Java thx | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2894 Registered: 10-2002 |
Yes, there is a bind method associated with the Socket class in Java. I'm not an expert in using it, but I can see from the docs that it does exist. |