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 7584167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:51:19+00:00 2026-05-30T18:51:19+00:00

I have been researching whether or not to use WCF for a new project

  • 0

I have been researching whether or not to use WCF for a new project we are going to be working on.

Basically the only reason which will prevent us from using it is the new project must be able to communicate with a legacy server which talks via .Net’s TcpClient class with binary messages.

I am wondering if I can write a custom binding perhaps to send and receive messages from the server. I have managed to find that I can write custom bindings and encodings. But I am not sure if I can read messages as bytes and not soap messages.

One possible solution I thought of is to write a custom encoding which will transform the bytes into soap messages and vice versa. But I have not checked up on this or thought it through much.

  • 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-05-30T18:51:20+00:00Added an answer on May 30, 2026 at 6:51 pm

    Jason,
    I’d suggest (not sure if this is an answer but I can’t post comments, sorry),
    you rather go with either a full sockets or a full WCF solution (meaning both client and the server).
    Given you have a legacy server with via sockets – it’s much easier to make a sockets client with some custom-protocol you have, and parsing, basic error handling etc.
    …and you’ll get it to be faster too (not sure what’s the purpose, nature of the app and communication you’re having with the server, or do you need some other WCF features etc.).
    See this thread which is more or less your case…
    WCF TCP client with Java Socket server on custom XML messages

    …basically, you’d need to write a transport channel – which would again pretty much have to support everything that you’d need it to do for a ‘sockets-only’ client + extra work and layers.
    That normally only makes sense if you’re
    a) going to reuse that for later on development, so e.g. you could just plug-in that solution for different servers or if you have many developers and large code base etc. (if you don’t, making a sockets solution a separate lib and reusing is still easier) or
    b) or you need some specific feature that ain’t easily reproducible ‘by hand and sockets’ – still to support any of that you’d have to wrap it up pretty thoroughly anyway, or…
    c) some 3rd party lib – that I’m not aware of for such cases (usually this falls into a ‘too custom’ work),
    hope this helps some

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been researching on whether we can create an app which will play
I have been researching a few different apps lately for my company which are
I have been researching OSGI to determine its viability for updating an existing project.
I have been researching online, but could not find the answer. In Symfony2, I
I have been researching for the last two hours, and have found nothing. Basically,
Im new to jQuery and have been researching and playing with it as much
I am new to iPhone programming, however, I have been researching my problem for
I have been working for some time on a library which performs numeric calculations.
I have been researching asynchronous messaging, and I like the way it elegantly deals
I have been researching and playing with functional programming lately, solely to broaden my

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.