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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:29:19+00:00 2026-05-11T01:29:19+00:00

I have a mobile platform that I am trying to write some communications code

  • 0

I have a mobile platform that I am trying to write some communications code on.

The platform provides a proprietary communication mechanism that is based on standard socket functions. Basically, the platform’s socket API looks exactly the same as the standard Windows Socket API, except with a prefix on each of the functions.

I would like to use WCF to abstract the complexities of the Sockets API away from my consuming applications, but am having a hard time finding resources that adequately describe all the pieces that would need to be coded.

Can anyone recommend a good starting place, or provide a description of what would be necessary to write a custom Socket based Transport for WCF? Ideally, I’d like to be able to use HttpBinding over this transport mechanism.

Thanks!

  • 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. 2026-05-11T01:29:19+00:00Added an answer on May 11, 2026 at 1:29 am

    I put together a list of some resources for writing a WCF transport channels which might be useful. Not all links are still active, unfortunately, but most are and there’s some useful stuff in there.

    I also put a short introduction to how some of the pieces fit together which might help a bit.

    Something I don’t quite get in your question: You mention that you want to run the HttpBinding on top of your transport. Do you mean you want to use the WCF http transport channel on top of your custom socket-like API instead of the regular windows sockets API?

    If so, then no, that won’t work for various reasons. One of them is that the bindings and channels are not really that directly tied together, Instead the binding definition (i.e. which binding elements are included in it) controls how the channel stack is created at runtime for your service/client.

    So basically, when writing your custom transport channel, you will create your own custom TransportBindingElement-derived class that you can use in a custom binding to use your own transport channel instead of one of the default ones (like HttpTransport). However, notice that a transport channel is, anyway, the bottom of the channel stack (i.e. there’s nothing underneath it), so you can’t layer the HttpTransport on top of your custom transport anyway (even if the API limitation was not there).

    In other words, if you want to speak HTTP, you’ll need to bake the HTTP stuff into your custom channel implementation. However, nothing prevents you from using the rest of the default basic/ws http bindings on top of your own channel, provided you expose the right channel shapes.

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

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode This article about reloading source code with mod_wsgi goes… May 11, 2026 at 11:31 pm
  • Editorial Team
    Editorial Team added an answer You may not have multi-threading, but you're still executing within… May 11, 2026 at 11:31 pm
  • Editorial Team
    Editorial Team added an answer You're using an well-known not-thread-safe class and complaining about deadlock.… May 11, 2026 at 11:31 pm

Related Questions

I am writing a python platform for the simulation of distributed sensor swarms. The
Possible Duplicate: Is there a tool that can display a SVN repository visually (
I have a java back-end that needs to expose services to clients running in
I have an existing website that I need to develop a small portion of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.