skip to main content
10.1145/2245276.2245390acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

msocket: multiple stack support for the berkeley socket API

Published: 26 March 2012 Publication History

Abstract

The de-facto standard for network programming, the Berkeley socket API, supports several protocol families. Unfortunately, it has a significant limitation in only allowing a single implementation for each supported protocol family. Hence, using Berkeley sockets, it is impossible to access multiple distinct networking stacks for the same protocol, e.g. multiple TCP/IP stacks. This paper defines, msocket, an extension to the Berkeley socket API which overcomes this limitation. msocket has been implemented as a feature of the View-OS project. Finally, we illustrate the utility and effectiveness of our extended API by providing some examples of its use.

References

[1]
Authorless. Cisco openfabrics enterprise distribution infiniband host drivers user guide for linux. Technical report, Cisco OL-10778-01, 2006.
[2]
E. W. Biederman. ns: Introduce the setns syscall. https://lkml.org/lkml/2011/5/6/411, 2011.
[3]
dan Hildebrand. An architectural overview of qnx. In Proceedings of the Workshop on Micro-kernels and Other Kernel Architectures, pages 113--126, 1992.
[4]
R. Davoli. Internet of threads. Communication at the Conferenza Garr 2011 (in Italian) http://www.garr.it/a/conf11/, 2011.
[5]
P. Emelyanov. net: Implement socketat. http://lwn.net/Articles/407615/, 2010.
[6]
L. Gardenghi, M. Goldweber, and R. Davoli. View-os: A new unifying approach against the global view assumption. In M. Bubak, G. van Albada, J. Dongarra, and P. Sloot, editors, Computational Science, ICCS 2008, volume 5101 of Lecture Notes in Computer Science, pages 287--296. Springer Berlin/Heidelberg, 2008.
[7]
D. Goldenberg, M. Kagan, R. Ravid, and M. S. Tsirkin. Zero copy sockets direct protocol over infiniband - preliminary implementation and performance analysis. In Proc. IEEE Int'l Symp. High-Performance Interconnects (HotI 05), pages 128--137. IEEE CS Press, 2005.
[8]
R. McGrath. Utrace. In Linux Foundation Collaboration Summit, 2009.

Cited By

View all
  • (2020)A Survey of End-to-End Solutions for Reliable Low-Latency Communications in 5G NetworksIEEE Access10.1109/ACCESS.2020.30327268(192808-192834)Online publication date: 2020
  • (2017)De-Ossifying the Internet Transport Layer: A Survey and Future PerspectivesIEEE Communications Surveys & Tutorials10.1109/COMST.2016.262678019:1(619-639)Online publication date: Sep-2018
  • (2016)Towards a flexible Internet transport layer architecture2016 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN)10.1109/LANMAN.2016.7548846(1-7)Online publication date: Jun-2016
  • Show More Cited By

Index Terms

  1. msocket: multiple stack support for the berkeley socket API

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SAC '12: Proceedings of the 27th Annual ACM Symposium on Applied Computing
    March 2012
    2179 pages
    ISBN:9781450308571
    DOI:10.1145/2245276
    • Conference Chairs:
    • Sascha Ossowski,
    • Paola Lecca
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 26 March 2012

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Research-article

    Conference

    SAC 2012
    Sponsor:
    SAC 2012: ACM Symposium on Applied Computing
    March 26 - 30, 2012
    Trento, Italy

    Acceptance Rates

    SAC '12 Paper Acceptance Rate 270 of 1,056 submissions, 26%;
    Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

    Upcoming Conference

    SAC '25
    The 40th ACM/SIGAPP Symposium on Applied Computing
    March 31 - April 4, 2025
    Catania , Italy

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 20 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2020)A Survey of End-to-End Solutions for Reliable Low-Latency Communications in 5G NetworksIEEE Access10.1109/ACCESS.2020.30327268(192808-192834)Online publication date: 2020
    • (2017)De-Ossifying the Internet Transport Layer: A Survey and Future PerspectivesIEEE Communications Surveys & Tutorials10.1109/COMST.2016.262678019:1(619-639)Online publication date: Sep-2018
    • (2016)Towards a flexible Internet transport layer architecture2016 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN)10.1109/LANMAN.2016.7548846(1-7)Online publication date: Jun-2016
    • (2013)P/S socketsProceedings of the 8th Workshop on Middleware for Next Generation Internet Computing10.1145/2541608.2541609(1-6)Online publication date: 9-Dec-2013

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media