-
Java Telnet/Sockets
Hello Everyone,
Firstly may I apologise for the un-educated nature of my post, as I am looking for some direction from a more experienced member of the java community.
Basically, I have been tasked to develop a peice of software which reads data from a telnet port. The port is used by our telecoms system to output call data periodically (every time a call is made/recieved etc). I have successfully connected using a telnet client to view this data. I somehow need to retrieve this data into a java programme. The data output is a string is made up of a collection of fields separated by commas.
Now my question is basically, how should I go about doing this. Can I use java sockets to retrieve this data? or do I need to use a telnet api of some kind? Also I assume that I need to establish some sort of constant connection, so that the programme can retrieve the string constantly, does anyone have any advise on how best I should do this?
And finally, this may seem the stupidest question yet.. but, as the data is output in a string format, I am assuming that there is no way of retrieving individual fields without having to do some sort of string manipulation separation using commas...
I appreciate any help or advise anyone can give me.
Thanks in advance for your time.
Andy.
Similar Threads
-
Replies: 2
Last Post: 06-14-2006, 03:16 PM
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By JJ in forum Enterprise
Replies: 1
Last Post: 07-06-2000, 04:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks