Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • UPA /
avatar image
REFINITIV
Question by LtDoolittle6 · Nov 09, 2015 at 09:42 AM · elektronelektron-sdkrrteta-apielektron-transport-api

A question about the old socket when RSSL_IP_FD_CHANGE is encountered

I am a newer using UPA API to construct my app. And I have a quick question about the old socket under some situation where the RSSL_IP_FD_CHANGE is returned E.g. rsslInitChannel My key question is: do I need cleaup the old socket after the unregistration IO of it? For example, should I explicitly close it or release it? at least in the documentation I didn’t see the cleanup. So UPA API has done it for me and only thing I should do is unregistering the IO notification bound? My additional question (if possible) is : what if I don’t unregister the IO for old socket, is it harmful?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
Best Answer
Answer by Susan Genoray · Nov 09, 2015 at 03:03 PM
This socket is automatically cleaned up by the UPA API. You do not have to close it. It is harmful, because the system may reclaim the old file descriptor after it is closed, so it may get triggered if, for example, your application makes another connection and that FD is assigned to the new connection. So the old socket FD should be removed from your notifier when a FD_CHANGE event is received.
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
No one has followed this question yet.

Related Questions

How can I use FieldList’s set definitions for payload in the MarketPrice response?

Crash in rsslFlush function in debugger

Handling status with UPA

Is unique StreamId required when consumer and provider want to communicate with each other with message updates

When can I resubscribe (after closing) to a different RIC with the same Stream Id?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges