Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8669115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:23:27+00:00 2026-06-12T18:23:27+00:00

I am developing a client server socket application for which I want to simulate

  • 0

I am developing a client server socket application for which I want to simulate the packet data transfer.I want a simulator which simulates the dropped packets data, message statuses, calculating packet checksum etc. Is it possible to simulate a TCP layer? If possible please provide me some links. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:23:29+00:00Added an answer on June 12, 2026 at 6:23 pm

    If you want to test it on a machine by itself, use 127.0.0.1 or localhost as the address you connect to. Your socket will then connect to whatever is listening to that port on your local computer (presumably your test server).

    If you want to avoid TCP entirely for some reason and only use the streaming aspect of TCP you could replace the input and output streams by PipedInputStream and PipedOutputStream:

    PipedInputStream pis = new PipedInputStream();
    PipedOutputStream pos = new PipedOutputStream(pis);
    
    // Use pis and pos in place of sock.getInputStream() and sock.getOutputStream().
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a server-client application that uses 3 ports [TCP SOCKET .Net 4.0].. So
I am developing an client server communication application in C. I want to encrypt
I am developing a client-server application using .Net Remoting. From my server I want
I am developing a Client-Server based application in which client application will access server
I'm developing a client and a server file transfer application with C++ sockets over
I am developing client-server application in Java which need user login. For that I
I am developing a server-client application in which the client calls a server's API
I am developing a socket server where a client will be bound after being
I'm developing client-server application by using .Net, C#, WCF, WPF. And now I need
I'm developing a client-server application and have been tasked with adding support for running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.